package com.fyy.utils;

import java.util.Base64;

public class Base64Utils {

    public static byte[] base64Encrypt(String content) {
        return Base64.getEncoder().encode(content.getBytes());
    }

    public static void main(String[] args) {
        String str = "123456888888888888888888888888888888888888888888888888888888888888888";
        System.out.println(EncryptUtil.DESencode(str,"123"));
    }

}
